package com.yeyks.mattress.dal.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 共享床垫套餐配置表
 * </p>
 *
 * @author yun
 * @since 2019-07-16
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="MattressPackageConfig对象", description="共享床垫套餐配置表")
public class MattressPackageConfig implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty(value = "套餐名称")
    @TableField("package_name")
    private String packageName;

    @ApiModelProperty(value = "套餐内容")
    @TableField("package_content")
    private String packageContent;

    @ApiModelProperty(value = "时长(秒)")
    @TableField("time_long")
    private Integer timeLong;

    @ApiModelProperty(value = "价格(分)")
    @TableField("sale_price")
    private Integer salePrice;

    @ApiModelProperty(value = "原价(分)")
    @TableField("origin_price")
    private Integer originPrice;

    @ApiModelProperty(value = "状态，0 不可用，1 可用，-1删除")
    @TableField("status")
    private Integer status;

    @ApiModelProperty(value = "顺序")
    @TableField("sort")
    private Integer sort;


    public static final String ID = "id";

    public static final String PACKAGE_NAME = "package_name";

    public static final String PACKAGE_CONTENT = "package_content";

    public static final String TIME_LONG = "time_long";

    public static final String SALE_PRICE = "sale_price";

    public static final String ORIGIN_PRICE = "origin_price";

    public static final String STATUS = "status";

    public static final String SORT = "sort";

}
